package com.cqw.mapper.one;

import com.cqw.domain.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*@Author: caoqingwen
*@CreateTime: 2021-04-28 14:02
*@Description: ${Description}
*/
public interface ActivityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Activity record);

    int insertOrUpdate(Activity record);

    int insertOrUpdateSelective(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);

    int updateBatch(List<Activity> list);

    int updateBatchSelective(List<Activity> list);

    int batchInsert(@Param("list") List<Activity> list);

    List<Activity> selectAutoActivityStart();

    List<Activity> selectActivityList();
}